package com.bird.extension.pattern.simpleFactory.factoryMethod;

import com.bird.extension.pattern.simpleFactory.entity.HpMouse;
import com.bird.extension.pattern.simpleFactory.entity.Mouse;

/**
 * @Author: sijunqiang
 * @Date: 2020/3/31 23:32
 * @Description: hp工厂专门用来生产hp鼠标
 */
public class HpFactory implements MouseFactory {

    /**
     * 专门用来生产hp鼠标
     * @return s
     */
    @Override
    public Mouse createMouse() {
        return new HpMouse();
    }
}
